﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ListPost.ascx.cs" Inherits="Modules_Posts_Controls_ListPost" %>
<%@ Register TagPrefix="avg" Namespace="Avg.Controls" Assembly="SmartPager" %>
<div class="blk_nd section-list">
    <h1 class="title_blk_nd">
        <a class="theloai_hot" href="#" title="<%=CategoryName%>">
            <%=CategoryName%></a></h1>
    <asp:Repeater ID="rpt" runat="server">
        <ItemTemplate>
            <div class="main_blk_nd">
                <div class="sp_i_nd">
                    <span><a href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString(),Eval("CreatedDate")) %>">
                        <img src="<%#UrlBuilder.GetImage(Eval("ImageUrl").ToString(),200,150,true) %>" alt="<%#Eval("Title") %>">
                    </a></span>
                </div>
                <div class="text_nd">
                    <h1>
                        <a href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString(),Eval("CreatedDate")) %>"
                            title="<%#Eval("Title") %>">
                            <%#Eval("Title") %></a>
                    </h1>
                    <p class="date-time">
                        <%#FormatString.DateTimeToString(Eval("ModifiedDate").ToString()) %><%-- | lượt xem : 381--%>
                    </p>
                    <p>
                        <%#FormatString.SplitString( Eval("Summary"),320) %>
                    </p>
                </div>
            </div>
        </ItemTemplate>
    </asp:Repeater>
    <avg:SmartPager ID="smartPager1" runat="server" Visible="false" />
</div>